add_subdirectory(Utils)
add_subdirectory(SILCombiner)
add_subdirectory(UtilityPasses)
add_subdirectory(ARC)
add_subdirectory(PassManager)
add_subdirectory(Loop)
add_subdirectory(EarlySIL)
add_subdirectory(Scalar)
add_subdirectory(IPO)
add_swift_library(swiftSILPasses
  ${SILCOMBINER_SOURCES}
  ${UTILITYPASSES_SOURCES}
  ${ARC_SOURCES}
  ${PM_SOURCES}
  ${LOOP_SOURCES}
  ${EARLY_SOURCES}
  ${SCALAR_SOURCES}
  ${IPO_SOURCES}
  LINK_LIBRARIES swiftSILPassesUtils swiftSILAnalysis)
